﻿using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Avatar.ResumeService;
using Avatar.Company;

public partial class Admin_Admin_Index_Right :System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                lbl_Resume.Text = ResumeManager.ResumeCount().ToString();
                lbl_Company.Text = CompanyInformationManager.CompanyCount().ToString();
                lbl_UserCount.Text = Membership.GetAllUsers().Count.ToString();
                lbl_CompanyUser.Text = Roles.GetUsersInRole("企业用户").Length.ToString();
                lbl_Person.Text = Roles.GetUsersInRole("个人用户").Length.ToString();
            }
        }
    }
